/*
 * All content copyright http://www.j2eefast.com, unless
 * otherwise indicated. All rights reserved.
 * No deletion without permission
 */
package com.j2eefast.flowable.bpm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;


import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>认领信息</p>
 *
 * @author: zhangyuan
 * @date: 2021-04-29 22:18
 * @web: http://www.letukeji.cn
 * @version: 1.0.1
 */
@Data
@TableName("project_claim_record")
public class ProjectClaimRecordEntity {
	@TableId(value = "id",type = IdType.AUTO)
	protected Long id;
	//项目经理
	@TableField(value = "ceo_name")
	protected String ceoName;
	//认领类型
	@TableField(value = "claim_type")
	protected String claimType;
	//三联单号
	@TableField(value = "sanlian_no")
	protected String sanlianNo;
	//开具部门
	@TableField(value = "open_department")
	protected String openDepartment;
	//认领金额
	@TableField(value = "claim_number")
	protected BigDecimal claimNumber;
	//档案编号
	@TableField(value = "file_number")
	protected String fileNumber;
	//认领时间
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
	@TableField(value = "claim_time")
	protected Date claimTime;
	//备注附言
	@TableField(value = "remarks")
	protected String remarks;
	//已结算到账金额
	@TableField(value = "put_amount")
	protected BigDecimal putAmount;
	//创建时间
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
	@TableField(value = "create_time")
	protected Date createTime;
	//更新时间
	@TableField(value = "update_time")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
	protected Date updateTime;
	//更新时间
	@TableField(value = "claim_id")
	protected Long claimId;
	//用户id
	@TableField(value = "user_id")
	protected Long userId;

	protected int total_items;
	//项目经理id
	@TableField(value = "name_id")
	protected Long nameId;
	//三联id
	@TableField(value = "sanlian_id")
	protected Long sanlianId;
	//项目档案id
	@TableField(value = "file_id")
	protected Long fileId;

}
